/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package firewing.object;

/**
 * 
 * @author Shuai Yuan
 */
public class Dict {

	/**
	 * category for trends and ads
	 */
	public static enum Category {
	}

	/**
	 * where does the trend come from
	 */
	public static enum TrendSource {

		GoogleTrends, YahooBuzz, Bing, Baidu, Twitter, Facebook, BBC, CNN, Reuters, Other;

		public static TrendSource load(String s) {
			try {
				return Enum.valueOf(TrendSource.class, s);
			} catch (Exception e) {
				return Other;
			}
		}
	}

	/**
	 * 
	 * where the ad comes from
	 * 
	 * @author Shuai Yuan
	 * 
	 */
	public static enum AdSource {
		GoogleSearch, YahooSearch, Other;

		public static AdSource load(String s) {
			try {
				return Enum.valueOf(AdSource.class, s);
			} catch (Exception e) {
				return Other;
			}
		}
	}

	/**
	 * target network the ad will be deployed to
	 */
	public static enum Network {

		GoogleSponsoredSearch, GoogleDisplayNetwork, YahooSponsoredSearch, YahooDisplayNetwork, BingSponsoredSearch, BingDisplayNetwork, BaiduSponsoredSearch, BaiduDisplayNetwork, FacebookDisplayNetwork, Other

	}

	/**
	 * language for trends and ads
	 */
	public static enum Language {

		English, Chinese, Other

	}

	/**
	 * current / highest hotness for a trend this is extracted from Google
	 * Trends.
	 */
	public static enum Hotness {

		Spicy, Other

	}
}
